package com.hljcert.data.service.common.result;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;

@Data
public class PageDTO {

    @ApiModelProperty(value = "页数", example = "1")
    @NotNull(message = "pageNo不能为空!")
    private Integer pageNo;

    @ApiModelProperty(value = "每页大小", example = "10")
    @NotNull(message = "pageSize不能为空!")
    private Integer pageSize;
}
